<script>
var title = "<?php if(isset($title)) echo $title;?>";
var header = <?php if(isset($header)) echo json_encode($header,JSON_UNESCAPED_UNICODE);?>;
//网页标题
$("head").find('title').html(title);
//标题导航
var html = "";
for(var i in header){
	if(i == 0){
		html += "<span class='head_main_title1'>"+ header[i] +"</span>";
	}else{
		html += "<span class='head_main_sep'></span><span class='head_main_title2'>"+ header[i] +"</span>";
	}
}
$('.set_breadcrumb').html(html);

$('.select ul').attr('style','');
$('.select li').removeClass('active');
$('.select .<?php echo $active;?>').addClass('active');
$('.select .<?php echo $active;?>').closest('ul').css('display','block');
</script>